I want to help making FreePBX more BSD compatible

When I tried installing FreePBX on FreeBSD I ran into sooo many bashimisms, linuxisms and hard coded (incompatible with the OS layout) stuff that I constantly had that need to shoot something and shoot it many times ;). So my question is can I help make FreePBX more compatible with the other OSes around and make it more configurable installation in the process ?