added getpid wrapper for allegro