Gets citra compiling on OSX

Note: while it compiles, no image is shown when a file is loaded. However, when dumping the framebuffer, the correct image is shown. 

Note 2: for IDEs on Linux and OSX (eclipse, Xcode), header files were added to `add_library` and `add_executable`, which is one more thing to keep in mind when adding or removing files