Drop M_PI and update the compile flags for C
Small refactoring for omegaUp support

* Moved the C ldflags logic out of the Makefile function
* Changed the external pipe filenames to be more consistent