Making library compile with port audio

`make COMPILER_FLAGS="-O --cfg port_audio”`
Merge pull request #350 from bvssvni/master

Making library compile with port audio