roboptim-core.rb: fix dependencies and HEAD compilation