Add OSX compiler flags for codec parsing