Fixed issues with POP library not compiling properly