Fixed ClassNotFoundException when run in 'fork' mode.