Update opm-core.rb

Updated CFLAGS to include -fpic.