library can be compiled in simulator